package com.example.onlinemusic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.onlinemusic.common.R;
import com.example.onlinemusic.model.domain.SongList;
import com.example.onlinemusic.model.request.SongListRequest;

public interface SongListService extends IService<SongList> {
    /**
     * 查询歌单列表
     *
     * @return
     */
    public R songList(String style);

    /**
     * 添加歌单
     *
     * @param songListRequest
     * @return
     */
    R addSongList(SongListRequest songListRequest);

    /**
     * 更新歌单
     *
     * @param songListRequest
     * @return
     */
    R updateSongList(SongListRequest songListRequest);

    /**
     * 删除歌单
     *
     * @param id
     * @return
     */
    R deleteSongList(int id);

    R songListOfStyle(String style);
}
